# $Header: /pub/cvsroot/mydns/src/util/Makefile.am,v 1.10 2002/12/08 17:34:42 bboy Exp $

AUTOMAKE_OPTIONS = 1.5

bin_PROGRAMS	=	mydnscheck mydnsexport mydnsimport

localedir		=	$(datadir)/locale

INCLUDES			=	-I../lib -I../../lib -I../../intl $(MYSQL_INCLUDE) $(PQ_INCLUDE)
DEFS				=	-DLOCALEDIR=\"$(localedir)\"
AM_LDFLAGS		=	-static
LDADD				=	../../lib/libmydnsutil.a ../lib/libmydns.a \
						@LIBINTL@ @LIBMYSQLCLIENT@ @LIBPQ@ @LIBZ@ @LIBSOCKET@ @LIBNSL@ @LIBM@

noinst_HEADERS =	util.h

mydnscheck_SOURCES	=	check.c util.c
mydnsexport_SOURCES	=	export.c util.c
mydnsimport_SOURCES	=	import.c import-axfr.c import-tinydns.c util.c

ctags:
	ctags *.[ch] ../lib/*.[ch] ../../lib/*.[ch]

## vi:set ts=3:
